import { createRouter, createWebHistory } from 'vue-router'
// import Home from '../views/Home.vue'

const routes = [
  {
    path: '/',
    name: 'DataView',
    component: () => import('../views/DataView.vue')
  },
//   {
//     path: '/home',
//     name: 'home',
//     component: () => import('../views/Home.vue')
//   },
//   {
//     path: '/about',
//     name: 'About',
//     component: () => import('../views/About.vue')
//   },
//   {
//     path: '/amap',
//     name: 'AMap',
//     component: () => import('../views/Map.vue')
//   },
//   {
//     path: '/bmap',
//     name: 'BMap',
//     component: () => import('../views/BMap.vue')
//   },
//   {
//     path: '/b2dMap',
//     name: 'b-2d-Map',
//     component: () => import('../views/baidu2Dmap.vue')
//   },
//   {
//     path: '/theEarth',
//     name: 'theEarth',
//     component: () => import('../views/theEarth.vue')
//   },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
